package cn.com.ejiakanghu.task;

import java.util.concurrent.*;

/**
 * @author houzb
 * @Description
 * @create 2021-12-22 21:15
 */
public class ThreadPoolPaySuccess {
    public static ExecutorService PAY_SUCCESS_THREAD_POOL = new ThreadPoolExecutor(20, 300, 30, TimeUnit.SECONDS, new SynchronousQueue<Runnable>(),Executors.defaultThreadFactory(),new ThreadPoolExecutor.AbortPolicy());
}
